package com.hqyj.project.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Leave {
    private Integer userId;
    private String userName;
    private String userRealName;
    private String userPwd;
    private String userTel;
    private String userSalt;
    private String userEmail;
    private Integer userStatus;
    private Integer deptId;

    private Integer leaveId;
    private String leaveStatus;
    private String leaveApproval;
    private String leaveInfo;
    private Integer leaveDays;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date leaveSubmit;

}
